package com.openbravo.pos.admin;

import com.openbravo.basic.BasicException;
import com.openbravo.data.loader.DataRead;
import com.openbravo.data.loader.IKeyed;
import com.openbravo.data.loader.SerializableRead;

public class RoleInfo
  implements SerializableRead, IKeyed
{
  private static final long serialVersionUID = 9110127845966L;
  private String m_sID = null;
  protected String m_sName = null;

  public Object getKey()
  {
    return this.m_sID;
  }

  public void readValues(DataRead paramDataRead)
    throws BasicException
  {
    this.m_sID = paramDataRead.getString(1);
    this.m_sName = paramDataRead.getString(2);
  }

  public void setID(String paramString)
  {
    this.m_sID = paramString;
  }

  public String getID()
  {
    return this.m_sID;
  }

  public String getName()
  {
    return this.m_sName;
  }

  public void setName(String paramString)
  {
    this.m_sName = paramString;
  }

  public String toString()
  {
    return this.m_sName;
  }
}

/* Location:           D:\PowerFulPOS-2.30.2\openbravopos.jar
 * Qualified Name:     com.openbravo.pos.admin.RoleInfo
 * JD-Core Version:    0.6.0
 */